projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8420edc
)
arm: mvebu: turris_omnia: add SCSI as boot target
author
Marek Behún
<
[email protected]
>
Thu, 2 May 2019 14:53:29 +0000
(16:53 +0200)
committer
Stefan Roese
<
[email protected]
>
Fri, 3 May 2019 06:14:39 +0000
(08:14 +0200)
If SCSI is enabled, U-Boot should try to boot also from SCSI device on
Turris Omnia.
Signed-off-by: Marek Behún <
[email protected]
>
Reviewed-by: Stefan Roese <
[email protected]
>
Signed-off-by: Stefan Roese <
[email protected]
>
include/configs/turris_omnia.h
patch
|
blob
|
history
diff --git
a/include/configs/turris_omnia.h
b/include/configs/turris_omnia.h
index 8e0c7bf0b40352d4de4fcdf48a9cc3f52d9d215e..018f54428bccc94cf066be59477ea622abeedbf3 100644
(file)
--- a/
include/configs/turris_omnia.h
+++ b/
include/configs/turris_omnia.h
@@
-89,9
+89,16
@@
#define BOOT_TARGET_DEVICES_USB(func)
#endif
+#ifdef CONFIG_SCSI
+#define BOOT_TARGET_DEVICES_SCSI(func) func(SCSI, scsi, 0)
+#else
+#define BOOT_TARGET_DEVICES_SCSI(func)
+#endif
+
#define BOOT_TARGET_DEVICES(func) \
BOOT_TARGET_DEVICES_MMC(func) \
BOOT_TARGET_DEVICES_USB(func) \
+ BOOT_TARGET_DEVICES_SCSI(func) \
func(PXE, pxe, na) \
func(DHCP, dhcp, na)